3.9.22 \(\int \frac {x^4}{\sqrt {a+b x^4}} \, dx\) [822]

Optimal. Leaf size=108 \[ \frac {x \sqrt {a+b x^4}}{3 b}-\frac {a^{3/4} \left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{6 b^{5/4} \sqrt {a+b x^4}} \]

[Out]

1/3*x*(b*x^4+a)^(1/2)/b-1/6*a^(3/4)*(cos(2*arctan(b^(1/4)*x/a^(1/4)))^2)^(1/2)/cos(2*arctan(b^(1/4)*x/a^(1/4))
)*EllipticF(sin(2*arctan(b^(1/4)*x/a^(1/4))),1/2*2^(1/2))*(a^(1/2)+x^2*b^(1/2))*((b*x^4+a)/(a^(1/2)+x^2*b^(1/2
))^2)^(1/2)/b^(5/4)/(b*x^4+a)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 108, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {327, 226} \begin {gather*} \frac {x \sqrt {a+b x^4}}{3 b}-\frac {a^{3/4} \left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} F\left (2 \text {ArcTan}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{6 b^{5/4} \sqrt {a+b x^4}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^4/Sqrt[a + b*x^4],x]

[Out]

(x*Sqrt[a + b*x^4])/(3*b) - (a^(3/4)*(Sqrt[a] + Sqrt[b]*x^2)*Sqrt[(a + b*x^4)/(Sqrt[a] + Sqrt[b]*x^2)^2]*Ellip
ticF[2*ArcTan[(b^(1/4)*x)/a^(1/4)], 1/2])/(6*b^(5/4)*Sqrt[a + b*x^4])

Rule 226

Int[1/Sqrt[(a_) + (b_.)*(x_)^4], x_Symbol] :> With[{q = Rt[b/a, 4]}, Simp[(1 + q^2*x^2)*(Sqrt[(a + b*x^4)/(a*(
1 + q^2*x^2)^2)]/(2*q*Sqrt[a + b*x^4]))*EllipticF[2*ArcTan[q*x], 1/2], x]] /; FreeQ[{a, b}, x] && PosQ[b/a]

Rule 327

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[c^(n - 1)*(c*x)^(m - n + 1)*((a + b*x^n
)^(p + 1)/(b*(m + n*p + 1))), x] - Dist[a*c^n*((m - n + 1)/(b*(m + n*p + 1))), Int[(c*x)^(m - n)*(a + b*x^n)^p
, x], x] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0] && GtQ[m, n - 1] && NeQ[m + n*p + 1, 0] && IntBinomialQ[a, b,
 c, n, m, p, x]

Rubi steps

\begin {align*} \int \frac {x^4}{\sqrt {a+b x^4}} \, dx &=\frac {x \sqrt {a+b x^4}}{3 b}-\frac {a \int \frac {1}{\sqrt {a+b x^4}} \, dx}{3 b}\\ &=\frac {x \sqrt {a+b x^4}}{3 b}-\frac {a^{3/4} \left (\sqrt {a}+\sqrt {b} x^2\right ) \sqrt {\frac {a+b x^4}{\left (\sqrt {a}+\sqrt {b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{6 b^{5/4} \sqrt {a+b x^4}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
time = 10.03, size = 62, normalized size = 0.57 \begin {gather*} \frac {x \left (a+b x^4-a \sqrt {1+\frac {b x^4}{a}} \, _2F_1\left (\frac {1}{4},\frac {1}{2};\frac {5}{4};-\frac {b x^4}{a}\right )\right )}{3 b \sqrt {a+b x^4}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^4/Sqrt[a + b*x^4],x]

[Out]

(x*(a + b*x^4 - a*Sqrt[1 + (b*x^4)/a]*Hypergeometric2F1[1/4, 1/2, 5/4, -((b*x^4)/a)]))/(3*b*Sqrt[a + b*x^4])

________________________________________________________________________________________

Maple [C] Result contains complex when optimal does not.
time = 0.15, size = 91, normalized size = 0.84

method result size
default \(\frac {x \sqrt {b \,x^{4}+a}}{3 b}-\frac {a \sqrt {1-\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \sqrt {1+\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \EllipticF \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )}{3 b \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}\, \sqrt {b \,x^{4}+a}}\) \(91\)
risch \(\frac {x \sqrt {b \,x^{4}+a}}{3 b}-\frac {a \sqrt {1-\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \sqrt {1+\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \EllipticF \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )}{3 b \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}\, \sqrt {b \,x^{4}+a}}\) \(91\)
elliptic \(\frac {x \sqrt {b \,x^{4}+a}}{3 b}-\frac {a \sqrt {1-\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \sqrt {1+\frac {i \sqrt {b}\, x^{2}}{\sqrt {a}}}\, \EllipticF \left (x \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}, i\right )}{3 b \sqrt {\frac {i \sqrt {b}}{\sqrt {a}}}\, \sqrt {b \,x^{4}+a}}\) \(91\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^4/(b*x^4+a)^(1/2),x,method=_RETURNVERBOSE)

[Out]

1/3*x*(b*x^4+a)^(1/2)/b-1/3*a/b/(I/a^(1/2)*b^(1/2))^(1/2)*(1-I/a^(1/2)*b^(1/2)*x^2)^(1/2)*(1+I/a^(1/2)*b^(1/2)
*x^2)^(1/2)/(b*x^4+a)^(1/2)*EllipticF(x*(I/a^(1/2)*b^(1/2))^(1/2),I)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4/(b*x^4+a)^(1/2),x, algorithm="maxima")

[Out]

integrate(x^4/sqrt(b*x^4 + a), x)

________________________________________________________________________________________

Fricas [A]
time = 0.08, size = 45, normalized size = 0.42 \begin {gather*} -\frac {\sqrt {b} \left (-\frac {a}{b}\right )^{\frac {3}{4}} F(\arcsin \left (\frac {\left (-\frac {a}{b}\right )^{\frac {1}{4}}}{x}\right )\,|\,-1) - \sqrt {b x^{4} + a} x}{3 \, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4/(b*x^4+a)^(1/2),x, algorithm="fricas")

[Out]

-1/3*(sqrt(b)*(-a/b)^(3/4)*elliptic_f(arcsin((-a/b)^(1/4)/x), -1) - sqrt(b*x^4 + a)*x)/b

________________________________________________________________________________________

Sympy [C] Result contains complex when optimal does not.
time = 0.39, size = 37, normalized size = 0.34 \begin {gather*} \frac {x^{5} \Gamma \left (\frac {5}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, \frac {5}{4} \\ \frac {9}{4} \end {matrix}\middle | {\frac {b x^{4} e^{i \pi }}{a}} \right )}}{4 \sqrt {a} \Gamma \left (\frac {9}{4}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**4/(b*x**4+a)**(1/2),x)

[Out]

x**5*gamma(5/4)*hyper((1/2, 5/4), (9/4,), b*x**4*exp_polar(I*pi)/a)/(4*sqrt(a)*gamma(9/4))

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4/(b*x^4+a)^(1/2),x, algorithm="giac")

[Out]

integrate(x^4/sqrt(b*x^4 + a), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^4}{\sqrt {b\,x^4+a}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^4/(a + b*x^4)^(1/2),x)

[Out]

int(x^4/(a + b*x^4)^(1/2), x)

________________________________________________________________________________________